package com.dt76.smallloanbackendservice.service.xm.impl;

import com.dt76.smallloanbackendservice.mapper.xm.FcCheckStateMapper;
import com.dt76.smallloanbackendservice.pojo.xm.FcCheckState;
import com.dt76.smallloanbackendservice.service.xm.FcCheckStateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FcCheckStateServiceImpl implements FcCheckStateService {

    @Autowired
    private FcCheckStateMapper fcCheckStateMapper;

    @Override
    public List<FcCheckState> qryAllCheckStateByID(int id) {
        return fcCheckStateMapper.qryAllCheckStateById(id);
    }

    @Override
    public int addCheckState(FcCheckState checkState) {
        return fcCheckStateMapper.addCheckState(checkState);
    }
}
